package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ClinicEmpRoleRela;
import com.zshan.clinic.database.model.ClinicEmpRoleRelaExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ClinicEmpRoleRelaMapper extends SuperMapper {
    long countByExample(ClinicEmpRoleRelaExample example);

    int deleteByExample(ClinicEmpRoleRelaExample example);

    int deleteByPrimaryKey(Long relaId);

    int insert(ClinicEmpRoleRela row);

    int insertSelective(ClinicEmpRoleRela row);

    List<ClinicEmpRoleRela> selectByExample(ClinicEmpRoleRelaExample example);

    ClinicEmpRoleRela selectByPrimaryKey(Long relaId);

    int updateByExampleSelective(@Param("row") ClinicEmpRoleRela row, @Param("example") ClinicEmpRoleRelaExample example);

    int updateByExample(@Param("row") ClinicEmpRoleRela row, @Param("example") ClinicEmpRoleRelaExample example);

    int updateByPrimaryKeySelective(ClinicEmpRoleRela row);

    int updateByPrimaryKey(ClinicEmpRoleRela row);
}